#ifndef __APPHEAD_H__
#define __APPHEAD_H__

#define OS_ASSERT(EX)                                                        	\
if (!(EX))                                                                   	\
{                                                                             	\
	volatile char dummy = 0;                                                \
	printf("(%s) assert failed at %s:%d \n", #EX, __FUNCTION__, __LINE__);	\
	while (dummy == 0);                                                     \
}

#endif

